
import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;


public interface IAgenda extends Remote/*, Serializable*/ {

	 public IUsuario getUsuario() throws RemoteException;
	 
	 public void adicionarContato(IUsuario usua) throws RemoteException;
	 public IUsuario localizarContato(String nome) throws RemoteException;
	 public ArrayList<? extends IUsuario> getContatos() throws RemoteException;
	 
	 public void adicionarEvento(IEvento evento)throws RemoteException;
	 public IEvento localizarEvento(String nome)throws RemoteException;
	 public List<IEvento> getEventos()throws RemoteException;
	
}
